package com.opeartion.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Table(name = "store")
public class Store implements Serializable {
    @Id
    private Integer tb_storeld;
    private String tb_storename;
    private String tb_branch;
    private String tb_tmt;
    private String tb_id;
    private String tb_backimg;
    private String tb_id_frontimg;
    private Integer tb_address_id;
    private String tb_tel;
    private String tb_code;
    private String tb_first_time;
    private String tb_end_time;
    private Integer tb_sendout_id;
    private String tb_status_describe;
    private Integer tb_generalizeId; //查看推广人
    private Date tb_create_time;
    private String tb_heatmg;
    private String tb_status;
    private  Integer tb_runStatus;
    //查看地址
    private Address address;
    //查看配送方式
    private Setout setout;
    //查看权益
    private StoreManager storeManager;
    //查看分类
    private List<Category> categories;


    public String getTb_status_describe() {
        return tb_status_describe;
    }

    public void setTb_status_describe(String tb_status_describe) {
        this.tb_status_describe = tb_status_describe;
    }

    public Integer getTb_runStatus() {
        return tb_runStatus;
    }

    public void setTb_runStatus(Integer tb_runStatus) {
        this.tb_runStatus = tb_runStatus;
    }

    public List<Category> getCategories() {
        return categories;
    }

    public void setCategories(List<Category> categories) {
        this.categories = categories;
    }

    public Integer getTb_storeld() {
        return tb_storeld;
    }

    public void setTb_storeld(Integer tb_storeld) {
        this.tb_storeld = tb_storeld;
    }

    public String getTb_storename() {
        return tb_storename;
    }

    public void setTb_storename(String tb_storename) {
        this.tb_storename = tb_storename;
    }

    public String getTb_branch() {
        return tb_branch;
    }

    public void setTb_branch(String tb_branch) {
        this.tb_branch = tb_branch;
    }

    public String getTb_tmt() {
        return tb_tmt;
    }

    public void setTb_tmt(String tb_tmt) {
        this.tb_tmt = tb_tmt;
    }

    public String getTb_id() {
        return tb_id;
    }

    public void setTb_id(String tb_id) {
        this.tb_id = tb_id;
    }

    public String getTb_backimg() {
        return tb_backimg;
    }

    public void setTb_backimg(String tb_backimg) {
        this.tb_backimg = tb_backimg;
    }

    public String getTb_id_frontimg() {
        return tb_id_frontimg;
    }

    public void setTb_id_frontimg(String tb_id_frontimg) {
        this.tb_id_frontimg = tb_id_frontimg;
    }

    public Integer getTb_address_id() {
        return tb_address_id;
    }

    public void setTb_address_id(Integer tb_address_id) {
        this.tb_address_id = tb_address_id;
    }

    public String getTb_tel() {
        return tb_tel;
    }

    public void setTb_tel(String tb_tel) {
        this.tb_tel = tb_tel;
    }

    public String getTb_code() {
        return tb_code;
    }

    public void setTb_code(String tb_code) {
        this.tb_code = tb_code;
    }

    public String getTb_first_time() {
        return tb_first_time;
    }

    public void setTb_first_time(String tb_first_time) {
        this.tb_first_time = tb_first_time;
    }

    public String getTb_end_time() {
        return tb_end_time;
    }

    public void setTb_end_time(String tb_end_time) {
        this.tb_end_time = tb_end_time;
    }

    public Integer getTb_sendout_id() {
        return tb_sendout_id;
    }

    public void setTb_sendout_id(Integer tb_sendout_id) {
        this.tb_sendout_id = tb_sendout_id;
    }

    public Integer getTb_generalizeId() {
        return tb_generalizeId;
    }

    public void setTb_generalizeId(Integer tb_generalizeId) {
        this.tb_generalizeId = tb_generalizeId;
    }

    public Date getTb_create_time() {
        return tb_create_time;
    }

    public void setTb_create_time(Date tb_create_time) {
        this.tb_create_time = tb_create_time;
    }

    public String getTb_heatmg() {
        return tb_heatmg;
    }

    public void setTb_heatmg(String tb_heatmg) {
        this.tb_heatmg = tb_heatmg;
    }

    public String getTb_status() {
        return tb_status;
    }

    public void setTb_status(String tb_status) {
        this.tb_status = tb_status;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Setout getSetout() {
        return setout;
    }

    public void setSetout(Setout setout) {
        this.setout = setout;
    }

    public StoreManager getStoreManager() {
        return storeManager;
    }

    public void setStoreManager(StoreManager storeManager) {
        this.storeManager = storeManager;
    }

    @Override
    public String toString() {
        return "Store{" +
                "tb_storeld=" + tb_storeld +
                ", tb_storename='" + tb_storename + '\'' +
                ", tb_branch='" + tb_branch + '\'' +
                ", tb_tmt='" + tb_tmt + '\'' +
                ", tb_id='" + tb_id + '\'' +
                ", tb_backimg='" + tb_backimg + '\'' +
                ", tb_id_frontimg='" + tb_id_frontimg + '\'' +
                ", tb_address_id=" + tb_address_id +
                ", tb_tel='" + tb_tel + '\'' +
                ", tb_code='" + tb_code + '\'' +
                ", tb_first_time='" + tb_first_time + '\'' +
                ", tb_end_time='" + tb_end_time + '\'' +
                ", tb_sendout_id=" + tb_sendout_id +
                ", tb_generalizeId=" + tb_generalizeId +
                ", tb_create_time=" + tb_create_time +
                ", tb_heatmg='" + tb_heatmg + '\'' +
                ", tb_status='" + tb_status + '\'' +
                ", address=" + address +
                ", setout=" + setout +
                ", storeManager=" + storeManager +
                ", categories=" + categories +
                '}';
    }
}